package net.techwatch.jpa.dao;

import java.util.List;

import javax.persistence.Query;

import net.techwatch.jpa.entity.Employee;
import net.techwatch.jpa.entity.Job;

public class EmployeeDao extends JpaDao<Long, Employee> implements IEmployeeDao {

	public List<Job> findAll() {
		Query query = getEntityManager().createQuery("select e from Employee as e");
		return query.getResultList();
	}

}
